import myAxios from "@/axios";

export function login(username, password) {
	return myAxios.post("/admin/login", {
		username,
		password,
	});
}

export function getInfo(){
	return myAxios.post('/admin/getinfo')
}

export function logout( token ){
	return myAxios.post( '/admin/logout' , {
		token
	} );
}


